<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'update.jsp' starting page</title>
    
  </head>
  
  <body>
  <form action="<%=basePath %>/user/update" method="post">
  		<input type="hidden" value="${user.id }" name="user.id"/>
  		userName : <input type="text" name="user.userName" value="${user.userName }"/><br/>
  		passWord : <input type="text" name="user.passWord" value="${user.passWord }"/><br/>
  		age : <input type="text" name="user.age" value="${user.age }"/><br/>
  		gender : <input type="text" name="user.gender" value="${user.gender }"/><br/>
  		<input type="submit" value="提交"/>
  		<a href="<%=basePath %>/user/list">返回</a>
  </form>
  </body>
</html>
